package com.mb.app.constants;

/**
 * @author
 * @create 2019-04-16 4:05 PM
 **/

public class Constants {


    /**
     * redis消息对列
     */
    public enum RedisTopic {
//        Channel_MSG("topic-001", "渠道消息"),
//        ProductPVUV_MSG("topic-002", "产品消息"),
//        Reg_MSG("topic-003", "用户注册消息"),
//        AppChannel_MSG("topic-004", "应用渠道消息"),
        ORDER_MSG("topic-order-001", "新的订单消息");


        RedisTopic(String code, String msg) {
            this.code = code;
            this.msg = msg;
        }

        private String code;
        private String msg;

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public String getMsg() {
            return msg;
        }

        public void setMsg(String msg) {
            this.msg = msg;
        }
    }
}
